﻿using System;

namespace WebDavProcessor.Constants
{
    public static class WebDavXML
    {
        public const string DefaultHttpVersion = "HTTP/1.1";
        public const string DefaultNameSpace = "DAV:";
        public const string DefaultPrefix = "d";
        public const string DefaultContentType = "application/xml";
        public const string DefaultCharset = "charset=\"utf-8\"";
        public const string UserNameSpace = "USR:";
        public const string UserPrefix = "u";

        // multistatus
        public const string MultiStatus = "multistatus";
        public const string Response = "response";
        public const string ResponseDescription = "responsedescription";
        public const string Href = "href";
        public const string Status = "status";
        public const string PropStat = "propstat";
        public const string Prop = "prop";
        public const string Error = "error";
        public const string Location = "location";

        // propfind
        public const string PropFind = "propfind";
        public const string PropName = "propname";
        public const string AllProp = "allprop";
        public const string Include = "include";

        // propupdate
        public const string PropertyUpdate = "propertyupdate";
        public const string Remove = "remove";
        public const string Set = "set";

        // properties
        public const string GetContentLanguage = "getcontentlanguage";
        public const string GetContentLength = "getcontentlength";
        public const string GetContentType = "getcontenttype";
        public const string GetETag = "getetag";
        public const string GetLastModified = "getlastmodified";

        public const string CreationDate = "creationdate";
        public const string DisplayName = "displayname";
        public const string LockDiscovery = "lockdiscovery";
        public const string ResourceType = "resourcetype";
        public const string SupportedLock = "supportedlock";
    }
}
